UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The /etc/smb.conf file must be owned by root.


Overview

Finding ID Version Rule ID IA Controls Severity
V-1027 GEN006100 SV-35213r1_rule ECLP-1 Medium
Description
The /etc/smb.conf file allows access to other machines on the network and grants permissions to certain users. If it is owned by another user, the file may be maliciously modified and the Samba configuration could be compromised.
STIG Date
HP-UX 11.31 Security Technical Implementation Guide 2016-12-20

Details

Check Text ( C-36694r1_chk )
Check the ownership of the /etc/smb.conf file.

# ls -lL /etc/opt/samba/smb.conf

If the smb.conf file is not owned by root, this is a finding.
Fix Text (F-32069r1_fix)
Change the ownership of the smb.conf file.

# chown root /etc/opt/samba/smb.conf